<!DOCTYPE html>
<html>
<#include "../head.html">
    <body class="full">
    <div class="mc">
        <div class="mc-l">
            <!--左侧导航---{-->
            <div id="navPanelContainer">
                <div class="system-logo cd"></div>
                <!--管理员信息---{-->
                <#include "../adminInfo.html">
                    <!--管理员信息---}-->
                    <div class="nav-wrap">
                        <#include "left.html">
                    </div>
            </div>
            <!--左侧导航---}-->
        </div>
        <div class="mc-m">
            <div class="navToggle"></div>
        </div>
        <div class="mc-r">
            <!--顶部导航---{-->
            <#include "../topNav.html">
                <!--顶部导航---}-->

                <!--面包屑导航---{-->
                <#assign moduleName="客户基本信息">
                    <#include "banner.html">
                        <!--面包屑导航---}-->

                        <!--工具栏--{-->
                        <div id="toolbar" class="clearfix">
                            <div class="toolbor-module search">
                                <form action="${request.getContextPath()}/admin/attestation/userAttestation.html" method="post">
                                    <div class="formTit">用户名：</div>
                                    <input type="text" name="username" id="username" value="请输入用户名" class="search-value">
                                    <div class="formTit">姓名：</div>
                                    <input type="text" name="realname" id="realname" value="请输入姓名" class="search-value">
                                    <input type="button" value="搜索"  class="input-button" onclick="sousuo();">
                                </form>
                            </div>
                        </div>
                        <!--工具栏--}-->

                        <div id="main" class="clearfix">
                            <#if attestationlist??>
                                <table class="data-list">
                                    <tr class="header">
                                        <td>ID</td>
                                        <td>用户名</td>
                                        <td>邮箱</td>
                                        <td>手机号</td>
                                        <td>是否绑定易极付</td>
                                        <td>是否邮箱认证</td>
                                        <td>是否手机认证</td>
                                        <td>易极付账户</td>
                                        <td>操作</td>
                                    </tr>
                                    <#list attestationlist as obj>
                                        <tr class="s">
                                            <td>${obj.userId?c}</td>
                                            <td>${obj.userName!"-"}</td>
                                            <td>${obj.email!"-"}</td>
                                            <td>${obj.phone!"-"}</td>
                                            <td><#if obj.yjfStatus??><#if obj.yjfStatus==1><font color="#009900">是</font><#else><font
                                                    color="#FF0000">否</font></#if><#else><font color="#FF0000">否</font></#if>
                                            </td>
                                            <td><#if obj.emailStatus??><#if obj.emailStatus==1><font color="#009900">是</font><#else><font
                                                    color="#FF0000">否</font></#if><#else><font color="#FF0000">否</font></#if>
                                            </td>
                                            <td><#if obj.phoneStatus??><#if obj.phoneStatus==1><font color="#009900">是</font><#else><font
                                                    color="#FF0000">否</font></#if><#else><font color="#FF0000">否</font></#if>
                                            </td>
                                            <td><#if obj.phoneStatus==1 && obj.emailStatus==1 &&obj.yjfStatus==0>
                                                <a href="${request.getContextPath()}/admin/attestation/applyYjfAccount.html?userId=${obj.userId?c}">人工申请</a><#else>-</#if></td>
                                            <td><a href="${request.getContextPath()}/admin/attestation/viewUserAttestation.html?userId=${obj.userId?c}" class="viewuserallinfo">查看全部资料</a></td>
                                        </tr>
                                    </#list>
                                </table>
                                <#else> 暂无信息 </#if>

                            <!--底部工具栏--{-->
                            <div id="bottomToolbar" class="clearfix">
                                <div class="other-tool">
                                    <dl class="refresh-data">
                                        <dt class="refresh-data-icon"></dt>
                                        <dd><a href="javascript:void(0);" class="refresh-page">刷新数据</a></dd>
                                    </dl>
                                </div>

                                <!--翻页系统--{-->
                                <div class="container s_formPage">
                                    <#import "../../common/page.html" as pager> <@pager.pagination page=page
                                        url="/admin/attestation/userAttestation.html" map=params style="style1" />

                                </div>
                                <!--翻页系统--}-->
                            </div>
                            <!--底部工具栏--}-->

                            <script>
                                function sousuo(){
                                    var urls = '?search=true';
                                    var username = $("#username").val();
                                    if (username!=null&&username!="请输入用户名"){
                                        urls += "&username="+username;
                                    }
                                    var realname = $("#realname").val();
                                    if (realname!=null&&realname!="请输入姓名"){
                                        urls += "&realname="+realname;
                                    }
                                    location.href=urls;
                                }
                            </script>
                        </div>
        </div>
    </div>
    <div class="mc-b">
        <#include "../foot.html">
    </div>
    <#include "../jsPage.html">
    </body>
</html>